﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addXinWen.aspx.cs" Inherits="PropertyManagement.addXinWen" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">
       body
       {
           width:600px;
           margin:0 auto;
       }
       #div0
       {
           width:90%;
           height:350px;
           margin:0 auto;        
           background-color:#a9c8f3;
       }
       #h3_1
       {
           text-align:center;
           width:90%;
           margin:10px;
           font-size:20px;
           font-style:normal;
       }
       table 
         {
             width: 90%;
             margin: 0 auto;
         }
       .auto-style4{
           width:80px;
           padding:0;
           margin:0;
           border:1px solid #fff;
       }
         .auto-style10 {
            width: 120px;
            border: 1px solid #fff;
        }
        #Button1,#Button2,#Button3,#Button4
        {
             width:80px;
             height:30px;         
             margin-left:20px;
        }
        #RadioButtonList1,#RadioButtonList2{
            margin:0;
            padding:0;
            border:none;
        } 
         #div1{
            width:90%;
            margin:20px auto;
            text-align:center;
         }
         .auto-style9 {
             width: 75%;
             height: 213px;
         }
         #txtBrith{
             margin-top:0px;
         }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="div0" class="auto-style2">
            <h3 id="h3_1">添加sxinwen数据表数据</h3>
            <table class="auto-style9">
                <tr>
                    <td class="auto-style10">新闻标题</td>
                    <td class="auto-style4">
                        <asp:TextBox ID="txttitle" runat="server"></asp:TextBox>
                     </td>

                </tr>
                <tr>
                   <td class="auto-style10">新闻内容</td>
                   <td class="auto-style4"><asp:TextBox ID="txtcontent" runat="server" Height="60px" TextMode="MultiLine" Width="160px"/>
                     </td>
                  </tr>
                <tr>
                   <td class="auto-style10">新闻发布日期</td>
                   <td class="auto-style4"><asp:TextBox ID="txtstime" runat="server" />
                     </td>
                  </tr>
                <tr>
                   <td class="auto-style10">新闻类别</td>
                   <td class="auto-style4">
                       <asp:RadioButtonList ID="RadioButtonList2" runat="server" Height="21px" RepeatDirection="Horizontal" Width="183px">
                           <asp:ListItem>站内公告</asp:ListItem>
                           <asp:ListItem>新闻</asp:ListItem>
                       </asp:RadioButtonList>
                     </td>
                  </tr>
                <tr>
                   <td class="auto-style10">状态</td>
                   <td class="auto-style4">
                       <asp:RadioButtonList ID="RadioButtonList1" runat="server" Height="21px" RepeatDirection="Horizontal" Width="183px">
                           <asp:ListItem>撤销</asp:ListItem>
                           <asp:ListItem>已发布</asp:ListItem>
                       </asp:RadioButtonList>
                     </td>
                  </tr>
                <tr>
                   <td class="auto-style10">发布人</td>
                   <td class="auto-style4"><asp:TextBox ID="txtperson" runat="server" />
                     </td>
                  </tr>
             </table>
            <div id="div1">
            <asp:Button ID="Button1" runat="server" Text="字符串添加" Width="90px" OnClick="Button1_Click" />
            <asp:Button ID="Button2" runat="server" Text="浏览" Width="59px" OnClick="Button2_Click" />
            <asp:Button ID="Button4" runat="server" Text="查询" OnClick="Button4_Click" />
            <asp:Button ID="Button3" runat="server" Text="返回" Width="58px" />
        </div>
        </div>
    </form>
</body>
</html>
